﻿<Page x:Class="Topics.Radical.Samples.Memento.SimpleGraph.SimpleGraphPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:Topics.Radical.Samples.Memento.SimpleGraph"
      mc:Ignorable="d" 
      d:DesignHeight="300" d:DesignWidth="300"
	Title="SimpleGraphPage">
    <Page.DataContext>
        <local:SimpleGraphViewModel />
    </Page.DataContext>
    <Grid>
        <TextBox Height="23"
                Text="{Binding Path=Entity.FirstName, UpdateSourceTrigger=PropertyChanged}" Margin="12,41,132,0" 
                VerticalAlignment="Top">
        </TextBox>
        <TextBox Height="23" 
                Text="{Binding Path=Entity.LastName, UpdateSourceTrigger=PropertyChanged}" Margin="12,12,132,0" 
                VerticalAlignment="Top" />
        <Button Content="Undo"
            Command="{Binding Path=UndoCommand}"
            Height="23" 
            HorizontalAlignment="Left" 
            Margin="12,70,0,0" 
            VerticalAlignment="Top" 
            Width="75" />
        <Button Content="Redo" 
            Command="{Binding Path=RedoCommand}"
            Height="23" 
            HorizontalAlignment="Left" 
            Margin="93,70,0,0"
            VerticalAlignment="Top" Width="75" />
    </Grid>
</Page>
